#ifndef GAME_STATUS_INDICATOR
#define GAME_STATUS_INDICATOR

#include <qframe.h> 

class GameStatusIndicator : public QFrame {
	Q_OBJECT
public:
	GameStatusIndicator (QWidget * parent = 0, const char * name = 0, WFlags f = 0);
	~GameStatusIndicator ();
	void setPlayerInfo (QString name, QColor col);

protected:
	virtual void paintEvent ( QPaintEvent * event );
	QSizePolicy sizePolicy() const;
	QSize sizeHint () const;

private:
	QString playerName;
	QColor color;
};

#endif /* !GAME_STATUS_INDICATOR */